#ifndef OPEN_GL
#define OPEN_GL

#include <stdio.h>	/* The stdio header provides functions for performing input and output. */
#include <stdlib.h>	/* The stdlib header defines several general operation functions and macros. */
#include <string.h>	/* The string header provides manipulating strings functions */
#include <math.h>	/* The math header defines several mathematic functions. */
#include <time.h>	/* The time header provides several time and date functions . */

#include <GL/gl.h>	/* Core library*/
#include <GL/glu.h>	/* Function written using core library*/
#include <GL/glut.h>	/* Utility Toolkit, Windowing functions important for interactive applications.*/

int display_list_creation;

void quads_list(int** coords_list, int size);

void segment(float* p1, float* p2);

void create_quad(float p1[], float p2[], int display_list);

void opengl_display(float ratio);

void opengl_init();

void quadrato();

void trasla(float x, float y);

void create_display_list();
#endif


